package receiver;

import static org.junit.Assert.*;

import org.junit.Test;

public class TestBuffer {

	Buffer b = new Buffer();
	
	@Test
	public void testInserer() {
		b.inserer("Acram travaille", 0);
		System.out.println(b.getContenu(0, 15));
		//assertEquals(b.getc, "Acram travaille");
	}
	@Test
	public void testGetContenu() {
		System.out.println(b.getContenu(0, 5));
		assertEquals(b.getContenu(0, 5),"Acram");
	}

	@Test
	public void testEffacer() {
		//fail("Not yet implemented");
	}



}
